package com.changpay.zywy.mvp.model


import com.changpay.zywy.base.BaseModel
import com.changpay.zywy.http.RetrofitHelper
import com.changpay.zywy.mvp.contract.QrContract
import com.changpay.zywy.bean.HttpResult
import com.changpay.zywy.bean.QrInfoBean
import io.reactivex.Observable

/**
 * Created by chenxz on 2018/5/27.
 */
class QrModel : BaseModel(), QrContract.Model {

    override fun getQrInfo(token: String): Observable<HttpResult<QrInfoBean>> {
        return RetrofitHelper.service.getQrInfo(token)
    }
}